package com.lt.job_hunting;

import java.util.*;

public class ZhangSan implements Person {
	public List<String> jobType = new ArrayList<String>();//���ڴ������˵��ڴ���������
	public void addJobFromPerson() {
		jobType.add("硬件");
	}
	public String getJob(int index) {
			return jobType.get(index);
	}
	public String getName() {
		return "张三";
	}
	public void lookingJob(){
		for(String jt : jobType) {
			System.out.println("用户" + getName() + "需要" + jt + "岗位");
		}
	}
	@Override
	public void receive(String job) {
		System.out.println("收到" + job + "岗位的通知");
	}
	@Override
	public List<String> getlist() {
		return this.jobType;
	}
}
